const designWidth = 414;
const standardWidth = 750;

function px2rpx(px) {
    return px * standardWidth / designWidth;
}

module.exports = { px2rpx };
